from nameremoved.extra.models import Extra

def getlinks():
    result = []
    for extra in Extra.tops.all():
        result.append([extra.get_absolute_url(), extra.title])
    return result